home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / archiver / ltarv3.zip / TARV.DOC < prev    next >
Text File  |  1992-01-28  |  1KB  |  38 lines

  1. Program :
  2.     TARV
  3.  
  4. Usage :
  5.     TARV tar-mapfile source-dir-of-tar DOS-command
  6.     tar-mapfile := mapfile created by LTAR (See LTAR.DOC)
  7.     source-dir-of-tar := the source directory which tar is extracted
  8.         into.
  9.     DOS-command := the command you want to apply for each file extracted
  10.         from tar. (See LOCATE.DOC's DOS command)
  11.  
  12. Description :
  13.  
  14.     It is a convenient utility to view (of course, not only to view) or
  15. apply command for each extracted file. I developed this is to read some U*IX's
  16. source code (such as GNU and X window) See example for more detail.
  17.  
  18. Examples:
  19.  
  20.     (1):-    TARV x.map . type
  21.       /* suppose we have a tar file x.tar and it's content is:
  22.       x.tar:
  23.         drwxrwxrw- 0/0         0 Jan 27 08:48 1992 t/
  24.         -r-xr-xr-- 0/0         2 Jan 27 08:48 1992 t/ABC
  25.         -r-xr-xr-- 0/0         4 Jan 27 08:49 1992 t/BAC
  26.         -r-xr-xr-- 0/0         4 Jan 27 08:49 1992 t/CBA
  27.       and we `ltar xvf x.tar g x.map' and got a map file x.map, note
  28.       that x.tar is extracted in current directory and x.map is also put
  29.       in currect directory, now we `tarv x.map . type'. You can see a
  30.       scrolled browser, please try the command on the bottom of screen,
  31.       and it is easy to understand.
  32.  
  33.     (2):-    Other examples
  34.         TARV f:\temp\x.map c:\x "type $s"
  35.         TARV a:\x.map b:\ "copy $s c:\temp"
  36.         etc.
  37.         you can omit `$s' if the parameter of command is only one.
  38.